package demo01;
//输出所有五位数的回文数
public class homework05 {
    public static void main(String[] args){
        int num;
        System.out.println("五位数的回文数有：");
        for(num=10000;num<100000;num++){
            if((num/10000)==(num%10)&&(num/10%10)==(num/1000%10)){
                System.out.println(num);
            }
        }
    }
}